class LoginEntity {
  final String userName;
  final String password;

  LoginEntity({required this.userName, required this.password});

  factory LoginEntity.fromJson(Map<String, dynamic> json) {
    return LoginEntity(
      userName: json['userName'] as String,
      password: json['password'] as String,
    );
  }
}
